package com.bootdo.repertory.service.impl;

import com.bootdo.repertory.dao.OtrackingDao;
import com.bootdo.repertory.domain.OtrackingDO;
import com.bootdo.repertory.service.OtrackingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class OtrackingServiceImpl implements OtrackingService {
	@Autowired
	private OtrackingDao otrackingDao;
	
	@Override
	public OtrackingDO get(Integer id){
		return otrackingDao.get(id);
	}
	
	@Override
	public List<OtrackingDO> list(Map<String, Object> map){
		return otrackingDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return otrackingDao.count(map);
	}
	
	@Override
	public int save(OtrackingDO otracking){
		return otrackingDao.save(otracking);
	}
	
	@Override
	public int update(OtrackingDO otracking){
		return otrackingDao.update(otracking);
	}
	
	@Override
	public int remove(Integer id){
		return otrackingDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return otrackingDao.batchRemove(ids);
	}
	
}
